<template>
  <div>
    <h4>呼吸运动</h4>
      <el-row type="flex" justify="space-between">
        <el-col>
          <span>呼吸运动</span>
          <div class="grid-content">
            <el-checkbox-group v-model="pgForm.huxiyd">
              <el-checkbox
                v-for="item in huxiyd"
                :key="item.val"
                :label="item.val">
                {{ item.val }}
              </el-checkbox>
              <el-input v-model="pgForm.huxiyd_remark" placeholder="备注" style="width: 50%"></el-input>
            </el-checkbox-group>
          </div>
        </el-col>
      </el-row>
    </div>
</template>

<script>
export default {
  name: "xfzzkfpgb_huxiyd",
  title: "呼吸运动",
  created() {
    if (this.istrans) {
      this.pgForm = this.fromdata
    }
  },
  props: {
    fromdata: {},
    istrans: false,
  },
  data() {
    return {
      //呼吸运动
      huxiyd: [{"val": "胸式呼吸", "text": ""},
        {"val": "腹式呼吸", "text": ""},
        {"val": "胸腹联合呼吸", "text": ""}],
      pgForm: {
        //呼吸运动
        huxiyd: [],
        huxiyd_remark: '',
      },
    }
  },
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
}

.el-checkbox-group{
  padding: 10px 20px;
}
.el-checkbox{
  display: block;
  margin-bottom: 15px;
}
</style>
